package com.jsh.erp.datasource.entities;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName jsh_bom_material
 */
@TableName(value = "jsh_bom_material")
@Data
public class BomMaterial implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    private Long materialId;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private String barCode;

    /**
     *
     */
    private Long categoryId;
    private String categoryName;

    private String unit;

    /**
     *
     */
    private Long bomId;

    /**
     *
     */
    private String bomName;

    /**
     *
     */
    private Long count;

    private String standard;

    private String model;
    /**
     *
     */
    @JsonIgnore
    private Long tenantId;

    /**
     *
     */
    @JsonIgnore
    @TableLogic
    private String deleteFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
